Quantum controller with modular and dynamic pulse generation and routing

ABSTRACT

A quantum controller comprises raw pulse generation circuitry, pulse modification circuitry, and output management circuitry. The raw pulse generation circuitry is operable to generate a raw output pulse. The output management circuitry is operable to route one or more output pulses onto a selected one or more signal paths based on to which one or more of a plurality of elements of a quantum processor the one or more output pulses are to be sent. The pulse modification circuitry is operable to select pulse modification settings to use for processing of the raw output pulse, wherein the selection is based on which of the signal paths are selected and/or to which elements of a quantum processor the pulses are to be sent. The pulse modification circuitry is operable to process the raw pulse using the selected pulse modification settings to generate the output pulses.

PRIORITY CLAIM

This application is a continuation of U.S. patent application Ser. No. 16/199,981 filed Nov. 26, 2018 (now U.S. Pat. No. 10,333,503), the entirety of which is hereby incorporated herein by reference.

TECHNICAL FIELD

Aspects of the present application relate to quantum computer control systems. More specifically, to methods and systems for a quantum controller with dynamic pulse routing.

BACKGROUND

Limitations and disadvantages of conventional approaches to quantum computer control systems will become apparent to one of skill in the art, through comparison of such approaches with some aspects of the present method and system set forth in the remainder of this disclosure with reference to the drawings.

BRIEF SUMMARY

Methods and systems are provided for a quantum controller with modular and dynamic pulse generation and routing, substantially as illustrated by and/or described in connection with at least one of the figures, as set forth more completely in the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A and 1B compare some aspects of classical (binary) computing and quantum computing.

FIG. 2 shows an example quantum computing system.

FIG. 3A shows an example quantum controller architecture in accordance with various example implementations of this disclosure.

FIG. 3B shows an example implementation of the quantum controller circuitry of FIG. 3A.

FIG. 4 shows an example implementation of the puller of FIG. 3B.

FIG. 5 shows an example implementation of the pulse operations manager and pulse operations circuitry of FIG. 3B

FIG. 6 is a flowchart illustrating an example operation of a quantum controller in accordance with an example implementation of this disclosure.

DETAILED DESCRIPTION

Classical computers operate by storing information in the form of binary digits (“bits”) and processing those bits via binary logic gates. At any given time, each bit takes on only one of two discrete values: 0 (or “off”) and 1 (or “on”). The logical operations performed by the binary logic gates are defined by Boolean algebra and circuit behavior is governed by classical physics. In a modern classical system, the circuits for storing the bits and realizing the logical operations are usually made from electrical wires that can carry two different voltages, representing the 0 and 1 of the bit, and transistor-based logic gates that perform the Boolean logic operations.

Shown in FIG. 1A is a simple example of a classical computer configured to a bit 102 and apply a single logic operation 104 to the bit 102. At time t0 the bit 102 is in a first state, at time t1 the logic operation 104 is applied to the bit 102, and at time t2 the bit 102 is in a second state determined by the state at time t0 and the logic operation. So, for example, the bit 102 may typically be stored as a voltage (e.g., 1 Vdc for a “1” or 0 Vdc for a “0”) which is applied to an input of the logic operation 104 (comprised of one or more transistors). The output of the logic gate is then either 1 Vdc or 0 Vdc, depending on the logic operation performed.

Obviously, a classical computer with a single bit and single logic gate is of limited use, which is why modern classical computers with even modest computation power contain billions of bits and transistors. That is to say, classical computers that can solve increasingly complex problems inevitably require increasingly large numbers of bits and transistors and/or increasingly long amounts of time for carrying out the algorithms. There are, however, some problems which would require an infeasibly large number of transistors and/or infeasibly long amount of time to arrive at a solution. Such problems are referred to as intractable.

Quantum computers operate by storing information in the form of quantum bits (“qubits”) and processing those qubits via quantum gates. Unlike a bit which can only be in one state (either 0 or 1) at any given time, a qubit can be in a superposition of the two states at the same time. More precisely, a quantum bit is a system whose state lives in a two dimensional Hilbert space and is therefore described as a linear combination α|0>+β|1>, where |0> and |1> are two basis states, and α and β are complex numbers, usually called probability amplitudes, which satisfy |α|²+|β|²=1. Using this notation, when the qubit is measured, it will be 0 with probability |α|² and will be 1 with probability |β|²·|0> and |1> can also be represented by two-dimensional basis vectors

$\quad\begin{bmatrix} 1 \\ 0 \end{bmatrix}$ and

$\begin{bmatrix} 0 \\ 1 \end{bmatrix},$ respectively, and then the qubit state is represented by

$\begin{bmatrix} \alpha \\ \beta \end{bmatrix}.$ The operations performed by the quantum gates are defined by linear algebra over Hilbert space and circuit behavior is governed by quantum physics. This extra richness in the mathematical behavior of qubits and the operations on them, enables quantum computers to solve some problems much faster than classical computers (in fact some problems that are intractable for classical computers may become trivial for quantum computers).

Shown in FIG. 1B is a simple example of a quantum computer configured to store a qubit 122 and apply a single quantum gate operation 124 to the qubit 122. At time t0 the qubit 122 is described by α₁|0>+β₁1>, at time t1 the logic operation 104 is applied to the qubit 122, and at time t2 the qubits 122 is described by α₂|0>+β₂|1>.

Unlike a classical bit, a qubit cannot be stored as a single voltage value on a wire. Instead, a qubit is physically realized using a two-level quantum mechanical system. Many physical implementations of qubits have been proposed and developed over the years with some being more promising than others. Some examples of leading qubits implementations include superconducting circuits, spin qubits, and trapped ions.

It is the job of the quantum controller to generate the precise series of external signals, usually pulses of electromagnetic waves and pulses of base band voltage, to perform the desired logic operations (and thus carry out the desired quantum algorithm). Example implementations of a quantum controller are described in further detail below.

FIG. 2 shows an example quantum computing system. The system comprises a quantum programming subsystem 202, a quantum controller 210, and a quantum processor 218.

The quantum programming subsystem 202 comprises circuitry operable to generate a quantum algorithm description 206 which the quantum controller 210 can execute to carry out the quantum algorithm on the quantum processor 218 (i.e., generate the necessary outbound quantum pulse(s) 213) with little or no human intervention during runtime of the algorithm. In an example implementation, the quantum programming system 202 is a personal computer having installed on it a quantum controller software development kit (SDK) that enables a user to generate the quantum algorithm description 206 using a programming language. In an example implementation, the programming language may be a low-level language which has little or no abstraction from the instruction set used by the specific hardware of the quantum controller 210. Such instructions may be converted to machine code of the quantum controller 210 without need of a compiler or interpreter. In an example implementation, the programming language may be a high-level language which is much more abstracted from the particular hardware of the quantum controller 210. Such instructions may be compiled into machine code before they can be run on the quantum controller 210. In an example implementation the description 206 may be a machine code description of the quantum algorithm. In an example implementation, the description 206 may be a high-level description which the quantum controller 210 may itself compile into machine code. In an example implementation, the description 206 may be a high-level description which the quantum controller 210 may interpret into machine code during runtime. In an example implementation, an operating system or other software layer may run on the quantum controller 210 and the quantum algorithm description 206 may be software instructions that make use of an application programming interface (API) of the software running on the quantum controller 210.

The quantum programming subsystem 202 is coupled to the quantum controller 210 via interconnect 204 which may, for example, utilize universal serial bus (USB), peripheral component interconnect (PCIe) bus, wired or wireless Ethernet, or any other suitable communication protocol.

The quantum controller 210 comprises circuitry operable to load the quantum algorithm description 206 and then perform the quantum algorithm as per the quantum algorithm description 206. In an example implementation, quantum algorithm description 206 is machine code (i.e., series of binary vectors that represent instructions that the quantum controller's hardware can interpret and execute directly) which is loaded into the quantum controller 210. Then, execution of the machine code by the quantum controller 210 causes the quantum controller 210 to generate the necessary outbound pulse(s) 213 that correspond to the desired operations to be performed on the quantum processor 218 (e.g., sent to qubit(s) for manipulating a state of the qubit(s) or to readout resonator(s) for reading the state of the qubit(s), etc.). Depending on the quantum algorithm to be performed, outbound pulse(s) 213 for carrying out the algorithm may be predetermined at design time and/or may need to be determined during runtime. The runtime determination of the pulses may comprise performance of classical calculations and processing in the quantum controller 210 and/or the quantum programing subsystem 202 during runtime of the algorithm (e.g., runtime analysis of inbound pulses 215 received from the quantum processor 218).

Upon completion of a quantum algorithm and/or during a runtime of a quantum algorithm by the quantum controller 210, the quantum controller 210 may output data/results 298 to the quantum programming subsystem 202. In an example implementation these results may be used to generate a new quantum algorithm description 206 for a subsequent run of the quantum algorithm and/or update the quantum algorithm description during runtime.

The quantum controller 210 is coupled to the quantum processor 218 via interconnect 212 which may comprise, for example, one or more conductors and/or optical fibers.

The quantum processor 218 comprises K (an integer) quantum elements 122, which includes qubits (which could be of any type such as superconducting, spin qubits, ion trapped, etc.), and, where applicable, any other element(s) for processing quantum information, storing quantum information (e.g. storage resonator), and/or coupling the outbound quantum pulses 213 and 215 between interconnect 212 and the quantum element(s) 122 (e.g., readout resonator(s)). In an example implementation in which the quantum processor comprises readout resonators (or other readout circuitry) K may be equal the total number of qubits plus the number of readout circuits. That is, if each of Q (an integer) qubits of the quantum processor 218 is associated with a dedicated readout circuit, then K may be equal to 2Q. For ease of description, the remainder of this disclosure will assume such an implementation, but it need not be the case in all implementations. Other elements of the quantum processor 218 may include, for example, flux lines (electronic lines for carrying current), gate electrodes (electrodes for voltage gating), current/voltage lines, amplifiers, classical logic circuits residing on-chip in the quantum processor 218, and/or the like

FIG. 3A shows an example quantum controller architecture in accordance with various example implementations of this disclosure. The quantum controller 210 comprises L (an integer≥1) pulser circuits 302 ₀-302 _(L-1) and shared circuitry 310.

In the example implementation shown, each pulser circuit 302 _(I) (I an integer between 0 and L−1) comprises circuitry for exchanging information over signal paths 3041, 3061, and 308 _(I), where the signal path 308 _(I) carries outbound pulses (e.g., 213 of FIG. 2) generated by the pulser circuit 302 _(I) (which may be control pulses sent to the quantum processor 128 to manipulate a state of one or more qubits and/or readout pulses to readout a state of one or more qubits), the signal path 306 _(I) carries inbound quantum element readout pulses (e.g., 215 of FIG. 2) to be processed by the pulser circuit 302 _(I), and signal path 304 _(I) carries control information. Each signal path may comprise one or more conductors, optical channels, and/or wireless channels.

Each pulser circuit 302 _(I) comprises circuitry operable to generate outbound pulses on signal path 3081 according to quantum control operations to be performed on the quantum processor 218. This involves very precisely controlling characteristics such as phase, frequency, amplitude, and timing of the outbound pulses. The characteristics of an outbound pulse generated at any particular time may be determined, at least in part, on inbound pulses received from the quantum processor 218 (via shared circuitry 310 and signal path 3061) at a prior time. In an example implementation, the time required to close the feedback loop (i.e., time from receiving a first pulse on one or more of paths 315 ₁-315 _(L) (e.g., at an analog to digital converter of the path) to sending a second pulse on one or more of paths 313 ₁-313 _(L-1) (e.g., at an output of a digital-to-analog converter of the path), where the second pulse is based on the first pulse) is significantly less than the coherence time of the qubits of the quantum processor 218. For example, the time to close the feedback loop may be on the order of 100 nanoseconds. It should be noted that each signal path in FIG. 3A may in practice be a pair of signal paths for supporting generation of phase-quadrature (“I” and “Q”) pulse pairs.

In the example implementation shown, the shared circuitry 310 comprises circuitry for exchanging information with the pulser circuits 302 ₀-302 _(L-1) over signal paths 304 ₀-304 _(L-1), 306 ₀-306 _(L-A), and 308 ₀-308 _(L-1), where each signal path 308 _(I) carries outbound pulses generated by the pulser circuit 302 _(I), each signal path 306 _(I) carries inbound pulses to be processed by pulser circuit 302 _(I), and each signal path 304 _(I) carries control information such as flag/status signals, data read from memory, data to be stored in memory, data streamed to/from the quantum programming subsystem 202, and data to be exchanged between two or more pulsers 302 ₀-302 _(L). Similarly, in the example shown the shared circuitry 310 comprises circuitry for exchanging information with the quantum processor 218 over signal paths 315 ₀-315 _(M-1) and 313 ₁-313 _(K-1), where each signal path 315 _(m) (m an integer between 0 and M−1) carries inbound pulses from the quantum processor 218, and each signal path 313 _(k) (k an integer between 0 and K−1) carries outbound pulses to the quantum processor 218. Additionally, in the example shown the shared circuitry 310 comprises circuitry for exchanging information with the quantum programming subsystem over signal path 311. The shared circuitry 310 may be: integrated with the quantum controller (e.g., on the same field programmable gate array or application specific integrated circuitry or printed circuit board); external to the quantum controller (e.g., on a separate FPGA, ASIC, or PCB connected to the quantum controller via one or more cables, backplanes, in other devices connected to the quantum processor 218, etc.); or partially integrated with the quantum controller and partially external to the quantum controller.

In various implementations, M may be less than, equal to, or greater than L, K may be less than, equal to, or greater than L, and M may be less than, equal to, or greater than K. For example, the nature of some quantum algorithms is such that not all K quantum elements need to be driven at the same time. For such algorithms, L may be less than K and one or more of the L pulsers 302 _(I) may be shared among multiple of the K quantum elements circuits. That is, any pulser 302 _(I) may generate pulses for different quantum elements at different times. This ability of a pulser 302 _(I) to generate pulses for different quantum elements at different times can reduce the required number of pulsers 302 ₀-302 _(L-1) (i.e., reduce L) required to support a given number of quantum elements (thus saving significant resources, cost, size, overhead when scaling to larger numbers of qubits, etc.).

The ability of a pulser 302 _(I) to generate pulses for different quantum elements at different times also enables reduced latency. As just one example, assume a quantum algorithm which needs to send a pulse to quantum element 122 ₀ at time T1, but whether the pulse is to be of a first type or second type (e.g., either an X pulse or a Hadamard pulse) cannot be determined until after processing an inbound readout pulse at time T1-DT (i.e., DT time intervals before the pulse is to be output). If there were a fixed assignment of pulsers 302 ₀-302 _(L-1) to quantum elements of the quantum processor 218 (i.e., if 302 ₀ could only send pulses to quantum element 122 ₀, and 302 ₁ could only send pulses to quantum element 122 ₁, and so on), then pulser 302 ₀ might not be able to start generating the pulse until it determined what the type was to be. In the depicted example implementation, on the other hand, pulser 302 ₀ can start generating the first type pulse and pulser 302 ₁ can start generating the second type pulse and then either of the two pulses can be released as soon as the necessary type is determined. Thus, if the time to generate the pulse is T_(lat), in this example the example quantum controller 210 may reduce latency of outputting the pulse by T_(lat).

The shared circuitry 310 is thus operable to receive pulses via any one or more of the signals paths 308 ₀-308 _(L-1) and/or 315 ₀-315 _(M-1), process the received pulses as necessary for carrying out a quantum algorithm, and then output the resulting processed pulses via any one or more of the signal paths 306 ₀-306 _(L-1) and/or 313 ₀-313 _(K-1). The processing of the pulses may take place in the digital domain and/or the analog domain. The processing may comprise, for example: frequency translation/modulation, phase translation/modulation, frequency and/or time division multiplexing, time and/or frequency division demultiplexing, amplification, attenuation, filtering in the frequency domain and/or time domain, time-to-frequency-domain or frequency-to-time-domain conversion, upsampling, downsampling, and/or any other signal processing operation. At any given time, the decision as to from which signal path(s) to receive one or more pulse(s), and the decision as to onto which signal path(s) to output the pulse(s) may be: predetermined (at least in part) in the quantum algorithm description; and/or dynamically determined (at least in part) during runtime of the quantum algorithm based on classical programs/computations performed during runtime, which may involve processing of inbound pulses. As an example of predetermined pulse generation and routing, a quantum algorithm description may simply specify that a particular pulse with predetermined characteristics is to be sent to signal path 313 ₁ at a predetermined time. As an example of dynamic pulse determination and routing, a quantum algorithm description may specify that a readout pulse at time T-DT should be analyzed and its characteristics (e.g., phase, frequency, and/or amplitude) used to determine whether at time T pulser 302 _(I) should output a pulse to a first quantum element or to a second quantum element. In various implementations of the quantum controller 210, the shared circuitry 310 may perform various other functions instead of and/or in addition to those described above. In general, the shared circuitry 310 may perform functions that are desired to be performed outside of the individual pulser circuits 302 ₀-302 _(L-1). For example, a function may be desirable to implement in the shared circuitry 310 where the same function is needed by a number of pulser circuits from 302 ₀-302 _(L-1) and thus may be shared among these pulser circuits instead of redundantly being implemented inside each pulser circuit. As another example, a function may be desirable to implement in the shared circuitry 310 where the function is not needed by all pulser circuits 302 ₀-302 _(L-1) at the same time and/or on the same frequency and thus fewer than L circuits for implementing the function may be shared among the L pulser circuits 302 ₀-302 _(L-1) through time and/or frequency division multiplexing. As another example, a function may be desirable to implement in the shared circuitry 310 where the function involves making decisions based on inputs, outputs, and/or state of multiple of the L pulser circuits 302 ₀-302 _(L-1), or other circuits. Utilizing a centralized coordinator/decision maker in the shared circuitry 310 may have the benefit(s) of: (1) reducing pinout and complexity of the pulser circuits 302 ₀-302 _(L-1); and/or (2) reducing decision-making latency. Nevertheless, in some implementations, decisions affecting multiple pulser circuits 302 ₀-302 _(L-1) may be made by one or more of the pulser circuits 302 ₀-302 _(L-1) where the information necessary for making the decision can be communicated among pulser circuits within a suitable time frame (e.g., still allowing the feedback loop to be closed within the qubit coherence time) over a tolerable number of pins/traces.

FIG. 3B shows an example implementation of the quantum controller of FIG. 2. The example quantum controller shown comprises pulsers 302 ₁-302 _(L-1), receive analog frontend 350, input manager 352, digital manager 354, pulse operations manager 356, pulse operations 358, output manager 360, transmit analog frontend 362, data exchange 364, synchronization manager 366, and input/output manager 368. Circuitry depicted in FIG. 3B other than pulser circuits 302 ₀-302 _(L-1) corresponds to an example implementation of the the shared circuitry 310 of FIG. 3A.

The receive analog frontend 350 comprises circuitry operable to concurrently process up to M (an integer 1) analog inbound signals (RP′₀-RP′_(M-1)) received via signal paths 315 ₀-315 _(M-1) to generate up to M concurrent inbound signals (RP₀-RP_(M-1)) to be output to input manager 352 via one or more signal paths. Although there is shown to be M signals RP and M signals RP′, this need not be the case. Such processing may comprise, for example, analog-to-digital conversion, filtering, upconversion, downconversion, amplification, attenuation, time division multiplexing/demultiplexing, frequency division multiplexing/demultiplexing, and/or the like. In various implementations, M may be less than, equal to, or greater than L and M may be less than, equal to, or greater than K.

The input manager 352 comprises circuitry operable to route any one or more of signals (RP₀-RP_(M-1)) to any one or more of pulsers 302 ₀-302 _(L-1) (as signal(s) AI₀-AI_(L-1)) and/or to other circuits (e.g. as signal io_mgr to I/O manager 368). In an example implementation, the input manager 352 comprises one or more switch networks, multiplexers, and/or the like for dynamically reconfiguring which signals RP₀-RP_(M-1) are routed to which pulsers 302 ₀-302 _(L-1). This may enable time division multiplexing multiple of the signals RP₀-RP_(M-1) onto a single signal AI_(I) and/or time division demultiplexing components (e.g., time slices) of a signal RP_(m) onto multiple of the signals AI₀-AI_(L-1). In an example implementation, the input manager 352 comprises one or more mixers and/or filters for frequency division multiplexing multiple of the signals RP₀-RP_(M-1) onto a single signal AI_(I) and/or frequency division demultiplexing components (e.g., frequency bands) of a signal RP_(m) onto multiple of the signals AI₀-AI_(L-1). The signal routing and multiplexing/demultiplexing functions performed by the input manager 352 enables: a particular pulser 302 _(I) to process different inbound pulses from different quantum elements at different times; a particular pulser 302 _(I) to process different inbound pulses from different quantum elements at the same time; and multiple of the pulsers 302 ₀-302 _(L-1) to processes the same inbound pulse at the same time. In the example implementation shown, routing of the signals RP₀-RP_(M-1) among the inputs of the pulsers 302 ₀-302 _(L-1) is controlled by digital control signals in_slct₀-in_slct_(L-1) from the pulsers 302 ₀-302 _(L-1). In another implementation, the input manager may be operable to autonomously determine the appropriate routing (e.g., where the quantum algorithm description includes instructions to be loaded into memory of, and executed by, the input manager 352). In the example implementation, the input manager 352 is operable to rout input signals RP₀-RP_(M-1) to the I/O manager 368 (as signal(s) io_mgr), to be sent to the quantum programing subsystem 202. This routing may, for example, be controlled by signals from the digital manager 352. In an example implementation, for each input signal RP_(m) there is a digital signal, stream_(m), from the digital manager 354 to the input manager 352 that controls whether RP_(m) will be sent from the input manager 352 to the I/O manager 368 and from there to the quantum programing subsystem 202.

Each of the pulsers 302 ₀-302 _(L-1) is as described above with reference to FIG. 3A. In the example implementation shown, each pulsers 302 _(I) is operable to generate raw outbound pulses CP′_(I) (“raw” is used simply to denote that the pulse has not yet been processed by pulse operations circuitry 358) and digital control signals in_slct_(I), D_port_(I), D_(I), out_slct_(I), ops_ctrl_(I), ops_slct_(I), IF_(I), F_(I), and dmod_sclt_(I) for carrying out quantum algorithms on the quantum processor 218, and results' for carrying intermediate and/or final results generated by the pulser 302 _(I) to the quantum programming subsystem 202. One or more of the pulsers 302 ₀-302 _(L-1) may receive and/or generate additional signals which are not shown in FIG. 3A for clarity of illustration. The raw outbound pulses CP′₀-CP′_(L-1) are conveyed via signal paths 308 ₀-308 _(L-1) and the digital control signals are conveyed via signal paths 304 ₀-304 _(L-1). Each of the pulsers 302 _(I) is operable to receive inbound pulse signal AI_(I) and signal f_dmod_(I). Pulser 302 _(I) may process the inbound signal AI_(I) to determine the state of certain quantum element(s) in the quantum processor 218 and use this state information for making decisions such as, for example, which raw outbound pulse CP′_(I) to generate next, when to generate it and what control signals to generate to affect the characteristics of that raw outbound pulse appropriately. Pulser 302 _(I) may use the signal f_dmod_(I) for determining how to process inbound pulse signal AI_(I). As an example, when Pulse generator 302 ₁ needs to process an inbound signal AI_(I) from quantum element 122 ₃, it can send a dmod_sclt₁ signal that directs pulse operations manager 356 to send, on f_dmod₁, settings to be used for demodulation of an inbound signal AI₁ from quantum element 122 ₃ (e.g., the pulse operations manager 356 may send the value cos(ω₃*time_stamp+ϕ₃), where ω₃ is the frequency of quantum element 122 ₃, time_stamp is amount of time passed since the reference point, for instance the time at which quantum algorithm started running, and ϕ₃ is the phase of the total frame rotation of quantum element 122 ₃, i.e. the accumulated phase of all frame rotations since the reference point).

The pulse operations circuitry 358 is operable to process the raw outbound pulses CP′₀-CP′_(L-1) to generate corresponding output outbound pulses CP₀-CP_(L-1). This may comprise, for example, manipulating the amplitude, phase, and/or frequency of the raw pulse CP′_(I). The pulse operations circuitry 358 receives raw outbound pulses CP′₀-CP′_(L-1) from pulsers 302 ₀-302 _(L-1), control signals ops_cnfg₀-ops_cnfg_(L-1) from pulse operations manager 356, and ops_ctrl₀-ops_ctrl_(L-1) from pulsers 302 ₀-302 _(L-1).

The control signal ops_cnfg_(I) configures, at least in part, the pulse operations circuitry 358 such that each raw outbound pulse CP′_(I) that passes through the pulse operations circuitry 358 has performed on it one or more operation(s) tailored for that particular pulse. To illustrate, denoting a raw outbound pulse from pulser 302 ₃ at time T1 as CP′_(3,T1), then, at time T1 (or sometime before T1 to allow for latency, circuit setup, etc.), the digital control signal ops_cnfg₃ (denoted ops_cnfg_(3,T1) for purposes of this example) provides the information (e.g., in the form of one or more matrix, as described below) as to what specific operations are to be performed on pulse CP′_(3,T1). Similarly, ops_cnfg_(4,T1) provides the information as to what specific operations are to be performed on pulse CP′_(4,T1), and ops_cnfg_(3,T2) provides the information as to what specific operations are to be performed on pulse CP′_(4,T1).

The control signal ops_ctrl_(I) provides another way for the pulser 302 _(I) to configure how any particular pulse is processed in the pulse operations circuitry 358. This may enable the pulser 302 _(I) to, for example, provide information to the pulse operation circuitry 358 that does not need to pass through the pulse operation manager 356. For example, the pulser 302 _(I) may send matrix values calculated in real-time by the pulser 302 _(I) to be used by the pulse operation circuitry 358 to modify pulse CP′_(I). These matrix values arrive to the pulse operation circuitry 358 directly from the pulser 302 _(I) and do not need to be sent to the pulse operation manager first. Another example maybe that the pulser 302 _(I) provides information to the pulse operation circuitry 358 to affect the operations themselves (e.g. the signal ops_ctrl_(I) can choose among several different mathematical operations that can be performed on the pulse).

The pulse operations manager 356 comprises circuitry operable to configure the pulse operations circuitry 358 such that the pulse operations applied to each raw outbound pulse CP′₁ are tailored to that particular raw outbound pulse. To illustrate, denoting a first raw outbound pulse to be output during a first time interval T1 as CP′_(I,T1), and a second raw outbound pulse to be output during a second time interval T2 as CP′_(I,T2), then pulse operations circuitry 358 is operable to perform a first one or more operations on CP′_(I,T1) and a second one or more operations on CP′_(1,T2). The first one or more operations may be determined, at least in part, based on to which quantum element the pulse CP_(L-T1) is to be sent, and the second one or more operations may be determined, at least in part, based on to which quantum element the pulse CP_(1,T2) is to be sent. The determination of the first one or more operations and second one or more operations may be determined dynamically during runtime.

The transmit analog frontend 362 comprises circuitry operable to concurrently process up to K digital signals DO_(k) to generate up to K concurrent analog signals AO_(k) to be output to the quantum processor 218. Such processing may comprise, for example, digital-to-analog conversion, filtering, upconversion, downconversion, amplification, attenuation, time division multiplexing/demultiplexing, frequency division multiplexing/demultiplexing and/or the like. In an example implementation, each of the one or more of signal paths 313 ₀-313 _(K-1). (FIG. 3A) represents a respective portion of Tx analog frontend circuit 362 as well as a respective portion of interconnect 212 (FIG. 2) between the Tx analog frontend circuit 362 and the quantum processor 218. Although there is one-to-one correspondence between the number of DO signals and the number of AO signals in the example implementation described here, such does not need to be the case. In another example implementation, the analog frontend 362 is operable to map more (or fewer) signals DO to fewer (or more) signals AO.

The output manager 360 comprises circuitry operable to route any one or more of signals CP₀-CP_(L-1) to any one or more of signal paths 313 ₀-313 _(K-1). As just one possible example, signal path 313 ₀ may comprise a first path through the analog frontend 362 (e.g., a first mixer and DAC) that outputs AO₀ and traces/wires of interconnect 212 that carry signal AO₀; signal path 313 ₁ may comprise a second path through the analog frontend 362 (e.g., a second mixer and DAC) that outputs AO₁ and traces/wires of interconnect 212 that carry signal AO₁, and so on. In an example implementation, the output manager 360 comprises one or more switch networks, multiplexers, and/or the like for dynamically reconfiguring which one or more signals CP₀-CP_(L-1) are routed to which signal paths 313 ₀-313 _(K-1). This may enable time division multiplexing multiple of the signals CP₀-CP_(L-1) onto a single signal path 313 _(k) and/or time division demultiplexing components (e.g., time slices) of a signal CP_(m) onto multiple of the signal paths 313 ₀-313 _(K-1). In an example implementation, the output manager 360 comprises one or more mixers and/or filters for frequency division multiplexing multiple of the signals CP₀-CP_(M-1) onto a single signal path 313 _(k) and/or frequency division demultiplexing components (e.g., frequency bands) of a signal CP_(m) onto multiple of the signal paths 313 ₀-313 _(K-1). The signal routing and multiplexing/demultiplexing functions performed by the output manager 360 enables: routing outbound pulses from a particular pulser 302 _(I) to different ones of the signal paths 313 ₀-313 _(K-1) at different times; routing outbound pulses from a particular pulser 302 _(I) to multiple of the signal paths 313 ₀-313 _(K-1) at the same time; and multiple of the pulsers 302 ₀-302 _(L-1) generating pulses for the same signal path 313 _(k) at the same time. In the example implementation shown, routing of the signals CP₀-CP_(L-1) among the signal paths 313 ₀-313 _(K-1) is controlled by digital control signals out_slct₀-out_slct_(L-1) from the pulsers 302 ₀-302 _(L-1). In another implementation, the output manager 360 may be operable to autonomously determine the appropriate routing (e.g., where the quantum algorithm description includes instructions to be loaded into memory of, and executed by, the output manager 362).

The digital manager 354 comprises circuitry operable to process and/or route digital control signals (DigCtrl₀-DigCtrl_(J-1)) to various circuits of the quantum controller 210 and/or external circuits coupled to the quantum controller 210. In the example implementation shown, the digital manager receives, from each pulser 302 _(I), (e.g., via one or more of signal paths 304 ₀-304 _(N-1)) a digital signal D_(I) that is to be processed and routed by the digital manager 354, and a control signal D_port_(I) that indicates to which output port(s) of the digital manager 354 the signal D_(I) should be routed. The digital control signals may be routed to, for example, any one or more of circuits shown in FIG. 3B, switches/gates which connect and disconnect the outputs AO₀-AO_(K-1) from the quantum processor 218, external circuits coupled to the quantum controller 210 such as microwave mixers and amplifiers, and/or any other circuitry which can benefit from on real-time information from the pulser circuits 302 ₀-302 _(L-1). Each such destination of the digital signals may require different operations to be performed on the digital signal (such as delay, broadening, or digital convolution with a given digital pattern). These operations may be performed by the digital manager 354 and may be specified by control signals from the pulsers 302 ₀-302 _(L-1). This allows each pulser 302 _(I) to generate digital signals to different destinations and allows different ones of pulse generators 302 ₀-302 _(L-1) to generate digital signals to the same destination while saving resources.

The synchronization manager 366 comprises circuitry operable to manage synchronization of the various circuits shown in FIG. 3B. Such synchronization is advantageous in a modular and dynamic system, such as quantum controller 210, where different ones of pulsers 302 ₀-302 _(L-1) generate, receive, and process pulses to and from different quantum elements at different times. For example, while carrying out a quantum algorithm, a first pulser circuit 302 ₁ and a second pulser circuit 302 ₂ may sometimes need to transmit pulses at precisely the same time and at other times transmit pulses independently of one another. In the example implementation shown, the synchronization manager 366 reduces the overhead involved in performing such synchronization.

The data exchange circuitry 364 is operable to manage exchange of data among the various circuits shown in FIG. 3B. For example, while carrying out a quantum algorithm, first pulser circuit 302 ₁ and a second pulser circuit 302 ₂ may sometimes need to exchange information. As just one example, pulser 302 ₁ may need to share, with pulser 302 ₂, the characteristics of an inbound signal AI_(I) that it just processed so that pulser 302 ₂ can generate a raw outbound pulse CP′₂ based on the characteristics of AI₁. The data exchange circuitry 364 may enable such information exchange. In an example implementation, the data exchange circuitry 364 may comprise one or more registers to and from which the pulsers 302 ₀-302 _(L-1) can read and write.

The I/O manager 368 is operable to route information between the quantum controller 210 and the quantum programming subsystem 202.

FIG. 4 shows an example implementation of the raw pulser of FIG. 3B. The example pulser 302 _(I) shown comprises instruction memory 402, pulse template memory 404, digital pattern memory 406, control circuitry 408, and compute and/or signal processing circuitry (CSP) 410.

The memories 402, 404, 406 may comprise one or more be any type of suitable storage elements (e.g., DRAM, SRAM, Flash, etc.). The instructions stored in memory 402 are instructions to be executed out by the pulser 302 _(I) for carrying out its role in a quantum algorithm. Because different pulsers 302 ₀-302 _(L-1) have different roles to play in any particular quantum algorithm (e.g., generating different pulses at different times), the instructions memory 402 for each pulser 302 _(I) may be specific to that pulser. For example, the quantum algorithm description 206 from the quantum programming subsystem 202 may comprise a first set of instructions to be loaded (via I/O manager 368) into pulser 302 ₀, a second set of instructions to be loaded into pulser 302 ₁, and so on. Each pulse template stored in memory 404 comprises a sequence of one or more samples of any arbitrary shape (e.g., Gaussian, sinc, impulse, etc.) representing the pulses to be sent to pulse operation circuitry 358. Each digital pattern stored in memory 406 comprises a sequence of one or more binary values which may represent the digital pulses to be sent to the digital manager 354 for generating digital control signals DigCtrl₀-DigCtrl_(J-1).

The control circuitry 408 is operable to execute the instructions stored in memory 402 to process inbound signal AI_(I), generate raw outbound pulses CP′_(I), and generate digital control signals in_slct_(I), out_slct_(I), D_port_(I), D_(I), IF_(I), F_(I), ops_slct_(I), ops_ctrl_(I), results_(I), and dmod_slct_(I). In the example implementation shown, the processing of the inbound signal AI_(I) is performed by the CSP circuitry 410 and based (at least in part) on the signal f_dmod_(I).

The compute and/or signal processing circuitry (CSP) 410 is operable to perform computational and/or signal processing functions, which may comprise, for example Boolean-algebra based logic and arithmetic functions and demodulation (e.g., of inbound signals AI_(I)).

In operation of an example implementation, generation of a raw outbound pulse CP′_(I) comprises the control circuitry 408: (1) determining a pulse template to retrieve from memory 404 (e.g., based on a result of computations and/or signal processing performed by the CSP 410); (2) retrieving the pulse template; (3) performing some preliminary processing on the pulse template; (4) determining the values of F, IF, ops_slct_(I), and dmod_slct_(I) to be sent to the pulse operation manager 356 (as predetermined in the quantum algorithm description and/or determined dynamically based on results of computations and/or signal processing performed by the CSP 410); (5) determining the value of ops_ctrl_(I) to be sent to the pulse operation circuitry 358; (6) determining the value of in_slct_(I) to be sent to the input manager 352; (7) determining a digital pattern to retrieve from memory 406 (as predetermined in the quantum algorithm description and/or determined dynamically based on results of computations and/or signal processing performed by the CSP 410); (8) outputting the digital pattern as D_(I) to the digital manager along with control signal D_port_(I) (as predetermined in the quantum algorithm description and/or determined dynamically based on results of computations and/or signal processing performed by the CSP 410); (9) outputting the raw outbound pulse CP′_(I) to the pulse operations circuitry 358; (10) outputting results' to the I/O manager.

FIG. 5 shows an example implementation of the pulse operations manager and pulse operations circuitry of FIG. 3B. The pulse operations circuitry 358 comprises a plurality of pulse modification circuits 508 ₀-508 _(L-1). The pulse operations manager 356 comprises control circuitry 502, routing circuitry 506, and a plurality of modification settings circuits 504 ₀-504 _(K-1).

Although the example implementation has a 1-to-1 correspondence between pulse modification circuits 508 ₀-508 _(L-1) and pulser circuits 302 ₀-302 _(L-1) (i.e., there are L of each), that does not need to be the case. In other implementations there may be fewer pulse modification circuits 508 than pulser circuits 302. Similarly, other implementations may comprise more pulse modification circuits 508 than pulser circuits 302.

Each pulse modification circuit 508 _(I) is operable to process raw outbound pulses CP′_(I) according to ops_cnfg_(I) and ops_ctrl_(I) to output outbound pulses CP_(I). Such processing may comprise adjusting a phase, frequency, and/or amplitude of the raw outbound pulses CP_(I). In an example implementation, ops_cnt_(I) is in the form of elements of one or more matrices of complex numbers and the processing comprises multiplying a matrix representation of the raw outbound pulses CP_(I) with the matrix/matrices of ops_cnfg_(I), as described below.

As an example, in some instances two of the pulsers 302 ₀-302 _(L-1) may generate two raw outbound pulses which are a phase-quadrature pulse pair. For example, assuming CP′₁ and CP′₂ are a phase-quadrature pulse pair to be output on path 313 ₃. In this example, pulse operations circuitry 358 may process CP₁ and CP₂ by multiplying a vector representation of CP′₁ and CP′₂ by one or more 2 by 2 matrices to: (1) perform single-sideband-modulation, as given by

${\begin{pmatrix} {C\; P_{1}} \\ {C\; P_{2}} \end{pmatrix} = {\begin{pmatrix} {\cos\left( {\omega*{time\_ stamp}} \right)} & {- {\sin\left( {\omega*{time\_ stamp}} \right)}} \\ {\sin\left( {\omega*{time\_ stamp}} \right)} & {\cos\left( {\omega*{time\_ stamp}} \right)} \end{pmatrix}\begin{pmatrix} {C\; P_{1}^{\prime}} \\ {C\; P_{2}^{\prime}} \end{pmatrix}}},$ where ω is the frequency of the single side band modulation and time_stamp is the time passed since the reference time (e.g. the beginning of a certain control protocol); (2) keep track of frame-of-reference rotations, as given by

${\begin{pmatrix} {C\; P_{1}} \\ {C\; P_{2}} \end{pmatrix} = {\begin{pmatrix} {\cos(\phi)} & {- {\sin(\phi)}} \\ {\sin(\phi)} & {\cos(\phi)} \end{pmatrix}\begin{pmatrix} {C\; P_{1}^{\prime}} \\ {C\; P_{2}^{\prime}} \end{pmatrix}}},$ where ϕ is the total phase that the frame of reference accumulated since the reference time; and/or (3) perform an IQ-mixer correction

${\begin{pmatrix} {C\; P_{1}} \\ {C\; P_{2}} \end{pmatrix} = {\begin{pmatrix} C_{00} & C_{01} \\ C_{10} & C_{11} \end{pmatrix}\begin{pmatrix} {C\; P_{1}^{\prime}} \\ {C\; P_{2}^{\prime}} \end{pmatrix}}},$ where C₀₀, C₀₁, C₁₀, and C₁₁ are the elements of a matrix that corrects for IQ-mixer imperfections. In an example implementation, each modification settings circuit, 504 _(k), contains registers that contain the matrix elements of three matrices:

${C_{k} = \begin{pmatrix} C_{k\; 00} & C_{k\; 01} \\ C_{k\; 10} & C_{k\; 11} \end{pmatrix}},$ an IQ-mixer correction matrix;

${S_{k} = \begin{pmatrix} {\cos\left( {\omega_{k}*{time\_ stamp}} \right)} & {- {\sin\left( {\omega_{k}*{time\_ stamp}} \right)}} \\ {\sin\left( {\omega_{k}*{time\_ stamp}} \right)} & {\cos\left( {\omega_{k}*{time\_ stamp}} \right)} \end{pmatrix}},$ a single side band frequency modulation matrix; and

${F_{k} = \begin{pmatrix} {\cos\left( \phi_{k} \right)} & {- {\sin\left( \phi_{k} \right)}} \\ {\sin\left( \phi_{k} \right)} & {\cos\left( \phi_{k} \right)} \end{pmatrix}},$ a frame rotation matrix, which rotates the IQ axes around the axis perpendicular to the IQ plane (i.e. the z-axis if I and Q are the x-axis and y-axis). In an example implementation, each modification parameters circuit 504 _(k) also contains registers that contain the elements of the matrix products C_(k)S_(k)F_(k) and S_(k)F_(k).

The control circuitry 502 is operable to exchange information with the puller circuits 302 ₀-302 _(L-1) to generate values of ops_confg₀-ops_confg_(L-1) and f_demod₀-f_demod_(L-1) by controlling routing circuitry 506 based on signals ops_slct₀-ops_slct_(L-1) and dmod_slct₀-dmod_slct_(L-1), and by updating pulse modification settings 504 ₀-504 _(K-1) based on IF₀-IF_(L-1) and F₀-F_(L-1) such that pulse modification settings output to pulse operations circuitry 358 are specifically tailored to each raw outbound pulse (e.g., to which quantum element 222 the pulse is destined, to which signal path 313 the pulse is destined, etc.) to be processed by pulse operations circuitry 358.

Each modification settings circuit 504 _(k) comprises circuitry operable to store modification settings for later retrieval and communication to the pulse operations circuitry 358. The modification settings stored in each modification settings circuit 504 _(k) may be in the form of one or more two-dimensional complex-valued matrices. Each signal path 313 ₀-313 _(K-1) may have particular characteristics (e.g., non-idealities of interconnect, mixers, switches, attenuators, amplifiers, and/or circuits along the paths) to be accounted for by the pulse modification operations. Similarly, each quantum element 122 ₀-122 _(k) may have a particular characteristics (e.g. resonance frequency, frame of reference, etc.). In an example implementation, the number of pulse modification settings, K, stored in the circuits 504 corresponds to the number of quantum element 122 ₀-122 _(K-1) and of signal paths 313 ₀-313 _(K-1) such that each of the modification settings circuits 504 ₀-504 _(K-1) stores modification settings for a respective one of the quantum elements 122 ₀-122 _(K-1) and/or paths 313 ₀-313 _(K-1). In other implementations, there may be more or fewer pulse modification circuits 504 than signal paths 313 and more or fewer pulse modification circuits 504 than quantum elements 122 and more or fewer signal paths 313 than quantum elements 122.

The routing circuitry 506 is operable to route modification settings from the modification settings circuits 504 ₀-504 _(L-1) to the pulse operations circuit 358 (as ops_confg₀-ops_confg_(L-1)) and to the pulsers 302 ₀-302 _(L-1) (as f_dmod₀-f_dmod_(L-1). In the example implementation shown, which of the modification settings circuits 504 ₀-504 _(K-1) has its/their contents sent to which of the pulse modification circuits 508 ₀-508 _(L-1) and to which of the pulsers 302 ₀-302 _(L-1) is controlled by the signals “route” from the control circuitry 502.

The signal ops_slct_(I) informs the pulse operations manager 356 as to which modification parameters 504 _(k) to send to the pulse modification circuit 508 _(I). The pulser 302 _(I) may determine ops_slct_(I) based on the particular quantum element 122 _(k) and/or signal path 313 _(k) to which the pulse is to be transmitted (e.g., the resonant frequency of the quantum element, frame of reference, and/or mixer correction). The determination of which quantum element and/or signal path to which a particular pulser 302 _(I) is to send an outbound pulse at a particular time may be predetermined in the quantum algorithm description or may be determined based on calculations performed by the pulser 302 _(I) and/or others of the pullers 302 ₀-302 _(L-1) during runtime. The control circuitry 502 may then use this information to configure the routing block 506 such that the correct modification settings are routed to the correct one of the pulse modification circuits 508 ₀-508 _(L-1).

In an example implementation, each ops_cnfg_(k) signal may comprise two components ops_cnfg_(k,0) and ops_cnfg_(k,1) and the pulse modification circuits 508 ₁ and 508 ₂ may perform the following operation: CP₁=ops_cnfg_(1,0)*CP′₁+ops_cnfg_(2,1)*CP′₂ and CP₂=ops_cnfg_(1,1)*CP′₁+ops_cnfg_(2,0)*CP′₂. To generate CP₁ and CP₂ as a phase-quadrature pulse pair, ops_slct₁ and ops_slct₂ may instruct the pulse operations manager 256 to set ops_cnfg_(1,0)=CSF_(k00), ops_cnfg_(1,1)=CSF_(k10), ops_cnfg_(2,0)=CSF_(k11), and ops_cnfg_(2,1)=CSF_(k01) such that

${\begin{pmatrix} {C\; P_{1}} \\ {C\; P_{2}} \end{pmatrix} = {\begin{pmatrix} {C\; S\; F_{00}} & {C\; S\; F_{01}} \\ {C\; S\; F_{10}} & {C\; S\; F_{11}} \end{pmatrix}\begin{pmatrix} {C\; P_{1}^{\prime}} \\ {C\; P_{2}^{\prime}} \end{pmatrix}}},$ where CSF_(kij) is the ij^(th) matrix element of CSF_(k). To generate CP₁ as a single-phase pulse, ops_slct₁ may instruct the pulse operations manager 356 to set ops_cnfgs_(1,0)=SF_(s00)=cos(ω_(k)*time_stamp+ϕ_(k)) and ops_cnfg_(2,1)=0, such that CP₁=cos(ω_(k)*time_stamp+ϕ_(k))CP′₁. Thus, such an implementation enables each pulse generator 302 _(I) to generate pulses to be played as a part of phase-quadrature pulse pairs or as independent single-phase pulses and modify these pulses with any one of the CSF or SF matrices, which are shared among all pulse generators.

In an example implementation, the digital signal IF′ instructs the pulse operations manager 356 to update a frequency setting of the modification settings circuit 504 _(k) indicated by ops_slct_(I). In an example implementation, the frequency setting is the matrix S_(k) (described above) and the signal IF_(I) carries new values indicating the new ω_(k) to be used in the elements of the matrix S_(k). The new values may, for example, be determined during a calibration routine (e.g., performed as an initial portion of the quantum algorithm) in which one or more of the pulse generators 302 ₀-302 _(L-1) sends a series of outbound pulses CP, each at a different carrier frequency, and then measures the corresponding inbound signals AI.

In an example implementation, the signal F_(I) instructs the pulse operations manager 356 to update a frame setting of the modification settings circuit 504 _(k) indicated by ops_slct_(I). In an example implementation, the frame setting is the matrix F_(k) (described above) and the signal F_(I) carries a rotation matrix F_(I) which multiplies with F_(k) to rotate F_(k). This can be written as

${F_{k} = {{F_{l}F_{k}} = {{\begin{pmatrix} {\cos\left( {\Delta\;\phi} \right)} & {- {\sin\left( {\Delta\;\phi} \right)}} \\ {\sin\left( {\Delta\;\phi} \right)} & {\cos\left( {\Delta\;\phi} \right)} \end{pmatrix}\begin{pmatrix} {\cos\left( \phi_{k} \right)} & {- {\sin\left( \phi_{k} \right)}} \\ {\sin\left( \phi_{k} \right)} & {\cos\left( \phi_{k} \right)} \end{pmatrix}} = \begin{pmatrix} {\cos\left( {\phi_{k} + {\Delta\;\phi}} \right)} & {- {\sin\left( {\phi_{k} + {\Delta\;\phi}} \right)}} \\ {\sin\left( {\phi_{k} + {\Delta\;\phi}} \right)} & {\cos\left( {\phi_{k} + {\Delta\;\phi}} \right)} \end{pmatrix}}}},$ where ϕ_(k) is the frame of reference before the rotation and Δϕ is the amount by which to rotate the frame of reference. The pulser 302 _(I) may determine Δϕ based on a predetermined algorithm or based on calculations performed by the pulse generator 302 _(I) and/or others of the pulse generators 302 ₀-302 _(L-1) during runtime.

In an example implementation, the signal dmod_sclt_(I) informs the pulse operations manager 356 from which of the modification settings circuits 504 _(k) to retrieve values to be sent to pulser 302 _(I) as f_dmod_(I). The pulser 302 _(I) may determine dmod_slct_(I) based on the particular quantum element 122 _(k) and/or signal path 315 _(k) from which the pulse to be processed arrived. The determination of from which quantum element and/or signal path a particular pulser 302 _(I) is to process an inbound pulse at a particular time may be predetermined in the quantum algorithm description or may be determined based on calculations performed by the pulser 302 _(I) and/or others of the pulsers 302 ₀-302 _(L-1) during runtime. The control circuitry 502 may then use this information to configure the routing block 506 such that the correct modification settings are routed to the correct one of the pulsers 302 ₀-302 _(L-1). For example, when pulse generation circuit 302 _(I) needs to demodulate a pulse signal AI_(I) from quantum element 122 _(k), it will send a dmod_sclt_(I) signal instructing the pulse operation manager 356 to rout the element SF_(k00)=cos(ω_(k)*time_stamp+ϕ_(k)) from modification settings circuit 504 _(k) to pulser 302 _(I) (as f_dmod_(I)).

In the example implementation shown, the digital signals C₀-C_(K-1) provide information about signal-path-specific modification settings to be used for each of the signal paths 313 ₀-313 _(K-1). For example, each signal C_(k) may comprise a matrix to be multiplied by a matrix representation of a raw outbound pulse CP′_(I) such that the resulting output outbound pulse is pre-compensated for errors (e.g., resulting from imperfections in mixers, amplifiers, wiring, etc.) introduced as the outbound pulse propagates along signal path 313 _(k). The result of the pre-compensation is that output outbound pulse CP_(I) will have the proper characteristics upon arriving at the quantum processor 218. The signals C₀-C_(K-1) may, for example, be calculated by the quantum controller 210 itself, by the programming subsystem 202, and/or by external calibration equipment and provided via I/O manager 368. The calculation of signals may be done as part of a calibration routine which may be performed before a quantum algorithm and/or may be determined/adapted in real-time as part of a quantum algorithm (e.g., to compensate for temperature changes during the quantum algorithm).

FIG. 6 is a flowchart illustrating an example operation of a quantum controller in accordance with an example implementation of this disclosure.

The process begins with block 602 in which pulser 302 ₂ decides to generate a raw outbound pulse CP′_(2,T1) to be output on signal path 313 ₄ at time T1. The decision is based on instructions loaded in memory 402 and may take into account the result of computations performed by the CSP 410 of the pulser 302 ₂ and/or CSP 410 of another of the pullers 304 ₀-302 _(L-1) (e.g., based on an inbound quantum element readout signal AI₂ demodulated by a CSP 410).

In block 604, pulser 302 ₂ signals to pulse operations manager 356, via signal ops_slct₂, that it wants the raw outbound pulse CP′_(2,T1) to be modified with pulse modification settings stored in 504 ₄.

In block 606, pulse modification manager 356 routes the settings from pulse modification settings circuit 504 ₄ to pulse modification circuit 508 ₂.

In block 608, pulse modification circuit 508 ₂ processes CP′_(2,T1) using the settings received in block 606. The result is output outbound quantum pulse CP_(2,T1).

In block 610, as directed by pulser 302 ₂, output manager 360 routes CP_(2,T1) to signal path 313 ₄ (as signal DO₄).

In block 612, pulser 302 ₂ decides to generate a raw outbound pulse CP′_(2,T2) to be output on signal path 313 ₇ at time T2. The decision is based on instructions loaded in memory 402 and may take into account the result of computations performed by the CSP 410 of the pulser 302 ₂ and/or CSP 410 of another of the pulsers 302 ₀-302 _(L-1) (e.g., based on an inbound quantum element readout signal AI₂ demodulated by a CSP 410).

In block 614, pulser 302 ₂ signals to pulse operations manager 356, via signal ops_slct₂, that it wants to modify raw outbound pulse CP′_(2,T2) with pulse modification settings stored in 504 ₇.

In block 616, pulse modification manager 356 routes the settings from pulse modification settings circuit 504 ₇ to pulse modification circuit 508 ₂.

In block 618, pulse modification circuit 508 ₂ processes CP′_(2,T2) using the settings received in block 616. The result is output outbound quantum pulse CP_(2,T2).

In block 620, as directed by pulser 302 ₂, output manager 360 routes CP_(2,T2) to signal path 313 ₇ (as signal DO₇).

Thus, at different times during runtime of a single quantum algorithm, a single pulser 302 generates pulses for two different paths (which may correspond to two different quantum elements 122 of the quantum processor 202, in this example), and each of the pulses receives different processing that is customized for its respective path and/or quantum element.

In accordance with an example implementation of this disclosure, a quantum controller (e.g., 210) comprises raw pulse generation circuitry (e.g., one or more pulsers 302), pulse modification circuitry (e.g., 356 and 358), and output management circuitry (e.g., 360). The raw pulse generation circuitry (e.g., 302 ₁) is operable to generate a raw pulse (e.g., CP_(1,T1)). The output management circuitry is operable to route one or more output pulses (e.g., one or more of CP₀-CP_(L-1)) onto a selected one or more of a plurality of signal paths (e.g., one or more of 313 ₀-313 _(K-1)) based on to which one or more of a plurality of elements of a quantum processor (e.g., quantum elements 122 ₀-122 _(K-1) of quantum processor 218) the one or more output pulses are to be sent. The pulse modification circuitry is operable to select one or more pulse modification settings (e.g., stored in one or more of 504 ₀-504 _(L-1)) to use for processing of the raw pulse, where the selection is based on which of the plurality of signal paths are the selected one or more signal paths (e.g., 313 ₄ may be the selected signal path) and/or to which of the one or more of the plurality of elements of the quantum processor the one or more output pulses are to be sent. The pulse modification circuitry is operable to process the raw pulse using the selected one or more pulse modification settings to generate the one or more output pulses. The one or more output pulses may comprise a first output pulse generated via a first of the one or more pulse modification settings and a second output pulse generated via a second of the one or more pulse modification settings. The first of the one or more pulse modification settings may be selected based on a first of the one or more signal paths (e.g., CP_(1,T1) generated using settings from 504 ₃ based on the pulse being intended for 313 ₃), and the second of the one or more pulse modification settings may be selected based on a second of the one or more signal paths to which the second output pulse is to be transmitted (e.g., CP_(1,T2) generated using settings from 504 ₄ based on the pulse being intended for 313 ₄). The first of the one or more pulse modification settings may be selected based on characteristics (e.g., frequency, phase, etc.) of a first of the plurality of elements of the quantum processor (e.g., CP_(1,T1) generated using settings from 504 ₃ based on the pulse being intended for quantum element 122 ₃), and the second of the one or more pulse modification settings may be selected based on characteristics (e.g., frequency, phase, etc.) of a second of the plurality of elements of the quantum processor (e.g., CP_(1,T2) generated using settings from 504 ₄ based on the pulse being intended for 122 ₄). The processing of the raw pulse using the one or pulse modification settings may result in an output pulse at a different carrier frequency than the raw pulse. The processing of the raw pulse using the one or more pulse modification settings may result in a frame of reference of the one or more output pulses being rotated with respect to a frame of reference of the raw pulse. The processing of the raw pulse using the one or more pulse modification settings may adjust a phase, frequency, and/or amplitude of the raw pulse to compensate for errors introduced by the selected one or more signal paths (e.g., in 362). The quantum controller may comprise input management circuitry (e.g., 352) operable to receive quantum element readout pulses (e.g., RP₀-RP_(M-1)) from a plurality of quantum elements, and route each of the quantum element readout pulses to one or more of a plurality of inputs of the raw pulse generation circuitry (e.g., as one or more of A₀-A_(L-1)), wherein the one or more inputs are dynamically determined during execution of instructions of a quantum computing algorithm by the quantum controller. The pulse modification circuitry may be operable to store a plurality of pulse modification settings (e.g., in 504 ₀-504 _(L-1)). The pulse modification circuitry may be dynamically configurable such that which of the plurality of pulse modifications settings are applied to the raw pulse is selectable during execution of instructions of a quantum computing algorithm by the quantum controller. Each pulse modification setting of the plurality of pulse modification settings may be configured for use with a respective signal path of the plurality of signal paths (e.g., settings in 504 ₀ may be tailored for signal path 313 ₀ and settings in 504 ₁ may be tailored for signal path 313 ₁).

As used herein the terms “circuits” and “circuitry” refer to physical electronic components (i.e. hardware) and any software and/or firmware (“code”) which may configure the hardware, be executed by the hardware, and or otherwise be associated with the hardware. As used herein, for example, a particular processor and memory may comprise a first “circuit” when executing a first one or more lines of code and may comprise a second “circuit” when executing a second one or more lines of code. As used herein, “and/or” means any one or more of the items in the list joined by “and/or”. As an example, “x and/or y” means any element of the three-element set {(x), (y), (x, y)}. As another example, “x, y, and/or z” means any element of the seven-element set {(x), (y), (z), (x, y), (x, z), (y, z), (x, y, z)}. As used herein, the term “exemplary” means serving as a non-limiting example, instance, or illustration. As used herein, the terms “e.g.,” and “for example” set off lists of one or more non-limiting examples, instances, or illustrations. As used herein, circuitry is “operable” to perform a function whenever the circuitry comprises the necessary hardware and code (if any is necessary) to perform the function, regardless of whether performance of the function is disabled or not enabled (e.g., by a user-configurable setting, factory trim, etc.). As used herein, the term “based on” means “based at least in part on.” For example, “x based on y” means that “x” is based at least in part on “y” (and may also be based on z, for example).

The present method and/or system may be realized in hardware, software, or a combination of hardware and software. The present methods and/or systems may be realized in a centralized fashion in at least one computing system, or in a distributed fashion where different elements are spread across several interconnected computing systems. Any kind of computing system or other apparatus adapted for carrying out the methods described herein is suited. A typical implementation may comprise one or more application specific integrated circuit (ASIC), one or more field programmable gate array (FPGA), and/or one or more processor (e.g., x86, x64, ARM, PIC, and/or any other suitable processor architecture) and associated supporting circuitry (e.g., storage, DRAM, FLASH, bus interface circuits, etc.). Each discrete ASIC, FPGA, Processor, or other circuit may be referred to as “chip,” and multiple such circuits may be referred to as a “chipset.” Another implementation may comprise a non-transitory machine-readable (e.g., computer readable) medium (e.g., FLASH drive, optical disk, magnetic storage disk, or the like) having stored thereon one or more lines of code that, when executed by a machine, cause the machine to perform processes as described in this disclosure. Another implementation may comprise a non-transitory machine-readable (e.g., computer readable) medium (e.g., FLASH drive, optical disk, magnetic storage disk, or the like) having stored thereon one or more lines of code that, when executed by a machine, cause the machine to be configured (e.g., to load software and/or firmware into its circuits) to operate as a system described in this disclosure.

While the present method and/or system has been described with reference to certain implementations, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the present method and/or system. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present disclosure without departing from its scope. Therefore, it is intended that the present method and/or system not be limited to the particular implementations disclosed, but that the present method and/or system will include all implementations falling within the scope of the appended claims. 

What is claimed is:
 1. A system comprising: input manager circuitry, raw pulse generation circuitry, pulse modification circuitry, and output manager circuitry, wherein: the input manager circuitry is operable to: receive a feedback signal from one of a plurality of controlled circuits; determine, during runtime, to which one or more inputs of a plurality of inputs of the raw pulse generation circuitry; and route the feedback signal to the determined one or more inputs; the raw pulse generation circuitry is operable to: generate a raw pulse; and output the raw pulse to the pulse modification circuitry; the pulse modification circuitry is operable to: generate a plurality of pulse modification settings; select one of the plurality of pulse modification settings; use the selected one of the plurality of pulse modification settings to manipulate the raw pulse, resulting in a manipulated raw pulse; and output the manipulated raw pulse to the output manager circuitry; and the output manager circuitry is operable to: determine, during runtime, to which one of the plurality of controlled circuits to route the manipulated raw pulse; and route the manipulated raw pulse to the one of the controlled circuits.
 2. The system of claim 1, wherein the determination of the one or more inputs is based on calculations performed by the raw pulse generation circuitry during runtime.
 3. The system of claim 1, wherein the selection of the one of the pulse modification settings is based on calculations performed by the raw pulse generation circuitry during runtime.
 4. The system of claim 1, wherein the determination of to which one of the plurality of controlled circuits to route the manipulated raw pulse is based on calculations performed by the raw pulse generation circuitry during runtime.
 5. The system of claim 1, wherein the manipulation of the raw pulse is a manipulation of phase, frequency, and/or amplitude of the raw pulse.
 6. The system of claim 1, wherein each of the pulse modification settings is customized for a corresponding one of the controlled circuits.
 7. The system of claim 1, wherein the selection of the one of the plurality of pulse modification settings is based on the determined controlled circuit to which the manipulated raw pulse is to be routed.
 8. The system of claim 1, wherein each of the plurality of controlled circuits is a quantum element.
 9. The system of claim 1, wherein the raw pulse generation circuitry is operable to generate the raw pulse based on characteristics of the feedback signal.
 10. The system of claim 1, wherein the selection of the one of the plurality of pulse modification settings is based on characteristics of the feedback signal.
 11. A method comprising: in a system comprising input manager circuitry, raw pulse generation circuitry, pulse modification circuitry, and output manager circuitry: receiving, by the input manager circuitry, a feedback signal from one of a plurality of controlled circuits; determining, by the input manager circuitry during runtime, to which one or more inputs of a plurality of inputs of the raw pulse generation circuitry to route the feedback signal; routing, by the input manager circuitry, the feedback signal to the one or more inputs; generating, by the raw pulse generation circuitry, a raw pulse, and outputting the raw pulse to the pulse modification circuitry; generating, by the pulse modification circuitry, a plurality of pulse modification settings; selecting, by the pulse modification circuitry, one of the plurality of pulse modification settings; manipulating, by the pulse modification circuitry, the raw pulse using the selected one of the plurality of pulse modification settings; outputting, by the pulse modification circuitry, the manipulated raw pulse to the output manager circuitry; determining, by the output manager circuitry during runtime, to which one of the plurality of controlled circuits to route the manipulated raw pulse; and routing, by the output manager circuitry, the manipulated raw pulse to the one of the plurality of controlled circuits.
 12. The method of claim 11, wherein the determining the one or more inputs is based on calculations performed by pulse generation circuitry during runtime.
 13. The method of claim 11, wherein the selecting the one of the pulse modification settings is based on calculations performed by the raw pulse generation circuitry during runtime.
 14. The method of claim 11, wherein the determining to which one of the plurality of controlled circuits to route the manipulated raw pulse is based on calculations performed by the raw pulse generation circuitry during runtime.
 15. The method of claim 11, wherein the manipulating the raw pulse comprises manipulating phase, frequency, and/or amplitude of the raw pulse.
 16. The method of claim 11, wherein each of the pulse modification settings is customized for a corresponding one of the controlled circuits.
 17. The method of claim 11, wherein the selecting the one of the plurality of pulse modification settings is based on the determined controlled circuit to which the manipulated raw pulse is to be routed.
 18. The method of claim 11, wherein each of the controlled circuits is a quantum element.
 19. The method of claim 11, comprising generating, by the raw pulse generation circuitry, the raw pulse based on characteristics of the feedback signal.
 20. The method of claim 11, wherein the selecting the one of the plurality of pulse modification settings is based on characteristics of the feedback signal. 